<table class="main">
  <thead class="ui-widget-header">
    <tr>
      <th></th>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Id'), 'module'=>'entry', 'column'=>'id', 'type'=>'text')); ?>
      <th><?php echo __('Image') ?></th>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Short content'), 'module'=>'entry', 'column'=>'short_content', 'type'=>'text')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Long content'), 'module'=>'entry', 'column'=>'long_content', 'type'=>'text')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Type'), 'module'=>'entry', 'column'=>'type_id', 'type'=>'select')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Menu'), 'module'=>'entry', 'column'=>'menu_id', 'type'=>'select')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Active?'), 'module'=>'entry', 'column'=>'is_active', 'type'=>'checkbox')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Position'), 'module'=>'entry', 'column'=>'position', 'type'=>'text')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Created at'), 'module'=>'entry', 'column'=>'created_at', 'type'=>'date')); ?>
      <?php include_component('cross_modules', 'tableHeader', array('label'=>__('Updated at'), 'module'=>'entry', 'column'=>'updated_at', 'type'=>'date')); ?> 
    </tr>
  </thead>
  <?php include_partial('entry/list', array('records'=> $records)) ?>
</table>